package com.xxxx.dao;

import com.xxxx.pojo.Door;

import java.util.List;

/**
 * Created By ShaoXikai on 2022/7/23
 */
public interface DoorDao {

    List<Door> selectAll();

    Door selectById(Long id);

    Door selectByName(String name);

    int update(Door door);

    int insert(Door door);

    int deleteById(Long id);

}
